<%--
  Created by IntelliJ IDEA.
  User: Demon-pro
  Date: 2015/7/21
  Time: 11:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <%@include file="../includes/head.jsp" %>
    <title>${menu.menuName}</title>
</head>
<body class="page-header-fixed page-quick-sidebar-over-content">
<%@include file="../includes/top.jsp" %>
<div class="page-container">
    <%@include file="../includes/sidebar.jsp" %>
    <div class="page-content-wrapper">
        <div class="page-content">
            <%@include file="../includes/current.jsp" %>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet box">
                        <div class="portlet-body form">
                            <div class="form-body">
                                <div class="col-md-12 margin-bottom-20">
                                    <div class="form-group">
                                        <label class="control-label col-md-3 editable"
                                               style="padding-left: 0; padding-right: 0;"
                                                >
                                            起点运行相对压力
                                        </label>

                                        <div class="col-md-9">
                                            <input type="text"
                                                   class="form-control input-inline pull-right"
                                                   id="E20" value="${blowerBaseCal.e20}">
                                        </div>
                                    </div>
                                </div>
                                <div class="clearfix"></div>
                                <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-success">
                                        <div class="panel-heading" role="tab" id="headingOne">
                                            <h4 class="panel-title">
                                                <a role="button" data-toggle="collapse" data-parent="#accordion"
                                                   href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                                                    入口段
                                                </a>
                                            </h4>
                                        </div>
                                        <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel"
                                             aria-labelledby="headingOne">
                                            <div class="panel-body">
                                                <table class="table table-full-width table-bordered" data-flag="in" largeType="1">
                                                    <caption></caption>
                                                    <thead>
                                                    <tr>
                                                        <th></th>
                                                        <th class="text-center">名称</th>
                                                        <th class="text-center">类型</th>
                                                        <th class="text-center">阻力系数</th>
                                                        <th class="text-center">动压头(Pa)</th>
                                                        <th class="text-center">计入裕度</th>
                                                        <th class="text-center">阻力损失</th>
                                                        <th class="text-center">计算点阻力损失</th>
                                                        <th class="text-center">设计点阻力损失</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="管段"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>沿程阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" value="${blowerBaseCal.pipeInOne}" readonly>
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.pipeInTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${in}" var="in">
                                                        <c:if test="${in.smallType == 1}">
                                                            <tr data-flag="管段" id="${in.id}" data-smallType="${in.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${in.classA}">
                                                                        <i class="${in.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${in.title}</td>
                                                                <td>
                                                                    <select>
                                                                        <option value="null" <c:if test="${'null'.equals(in.type)}">selected="selected"</c:if>>请选择类型</option>
                                                                        <option value="straight"<c:if test="${'straight'.equals(in.type)}">selected="selected"</c:if>>直管型</option>
                                                                        <option value="inner-support"<c:if test="${'inner-support'.equals(in.type)}">selected="selected"</c:if>>内撑</option>
                                                                    </select>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${in.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="零件"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>局部阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.partsInOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.partsInTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${in}" var="in">
                                                        <c:if test="${in.smallType == 2}">
                                                            <tr data-flag="零件" id="${in.id}" data-smallType="${in.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${in.classA}">
                                                                        <i class="${in.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${in.title}</td>
                                                                <td>
                                                                    <select>
                                                                        <option value="null"<c:if test="${'null'.equals(in.type)}">selected="selected"</c:if>>请选择类型</option>
                                                                        <option value="bend"<c:if test="${'bend'.equals(in.type)}">selected="selected"</c:if>>弯头</option>
                                                                        <option value="threeLinks"<c:if test="${'threeLinks'.equals(in.type)}">selected="selected"</c:if>>三通</option>
                                                                        <option value="transition"<c:if test="${'transition'.equals(in.type)}">selected="selected"</c:if>>变径</option>
                                                                        <option value="header"<c:if test="${'header'.equals(in.type)}">selected="selected"</c:if>>联箱</option>
                                                                    </select>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${in.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="部件"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>部件阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.spareInOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.spareInTwo}">
                                                        </td>
                                                    </tr>

                                                    <c:forEach items="${in}" var="in">
                                                        <c:if test="${in.smallType == 3}">
                                                            <tr data-flag="部件" id="${in.id}" data-smallType="${in.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${in.classA}">
                                                                        <i class="${in.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${in.title}</td>
                                                                <td>
                                                                    <select>
                                                                        <option value="null"<c:if test="${'null'.equals(in.type)}">selected="selected"</c:if>>请选择类型</option>
                                                                        <option value="airdoor"<c:if test="${'airdoor'.equals(in.type)}">selected="selected"</c:if>>风门</option>
                                                                        <option value="sinkhole"<c:if test="${'sinkhole'.equals(in.type)}">selected="selected"</c:if>>缩孔</option>
                                                                        <option value="other"<c:if test="${'other'.equals(in.type)}">selected="selected"</c:if>>其他</option>
                                                                    </select>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${in.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>

                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="设备"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>设备阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.deviceInOne}" >
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.deviceInTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${in}" var="in">
                                                        <c:if test="${in.smallType == 4}">
                                                            <tr data-flag="设备" id="${in.id}" data-smallType="${in.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${in.classA}">
                                                                        <i class="${in.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${in.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${in.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="其他"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>其他阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.otherInOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.otherInTwo}">
                                                        </td>
                                                    </tr>

                                                    <c:forEach items="${in}" var="in">
                                                        <c:if test="${in.smallType == 5}">
                                                            <tr data-flag="其他" id="${in.id}" data-smallType="${in.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${in.classA}">
                                                                        <i class="${in.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${in.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${in.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <c:forEach items="${in}" var="in">
                                                        <c:if test="${in.smallType == 6}">
                                                            <tr data-flag="其他" id="${in.id}" data-smallType="${in.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${in.classA}">
                                                                        <i class="${in.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${in.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${in.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <c:forEach items="${in}" var="in">
                                                        <c:if test="${in.smallType == 7}">
                                                            <tr data-flag="其他" id="${in.id}" data-smallType="${in.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${in.classA}">
                                                                        <i class="${in.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${in.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${in.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${in.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr>
                                                        <td colspan="9">
                                                            <h4><b>吸入侧总阻力</b></h4>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <b>未经修正的吸入侧总阻力-计算点</b>
                                                        </td>
                                                        <td colspan="6">
                                                            <input type="text" class="form-control input-large" readonly id="E27" value="${blowerBaseCal.e27}"/>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <b>未经修正的吸入侧总阻力-设计点</b>
                                                        </td>
                                                        <td colspan="6">
                                                            <input type="text" class="form-control input-large" readonly id="E30" value="${blowerBaseCal.e30}"/>
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="panel panel-danger">
                                        <div class="panel-heading" role="tab" id="headingTwo">
                                            <h4 class="panel-title">
                                                <a role="button" data-toggle="collapse" data-parent="#accordion"
                                                   href="#collapseTwo" aria-expanded="true" aria-controls="collapseTwo">
                                                    出口段
                                                </a>
                                            </h4>
                                        </div>
                                        <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel"
                                             aria-labelledby="headingTwo">
                                            <div class="panel-body">
                                                <table class="table table-full-width table-bordered" data-flag="out" largeType="2">
                                                    <caption></caption>
                                                    <thead>
                                                    <tr>
                                                        <th></th>
                                                        <th class="text-center">名称</th>
                                                        <th class="text-center">类型</th>
                                                        <th class="text-center">阻力系数</th>
                                                        <th class="text-center">动压头(Pa)</th>
                                                        <th class="text-center">计入裕度</th>
                                                        <th class="text-center">阻力损失</th>
                                                        <th class="text-center">计算点阻力损失</th>
                                                        <th class="text-center">设计点阻力损失</th>
                                                    </tr>
                                                    </thead>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="管段"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>沿程阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.pipeOutOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.pipeOutTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${out}" var="out">
                                                        <c:if test="${out.smallType == 1}">
                                                            <tr data-flag="管段" id="${out.id}" data-smallType="${out.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${out.classA}">
                                                                        <i class="${out.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${out.title}</td>
                                                                <td>
                                                                    <select>
                                                                        <option value="null" <c:if test="${'null'.equals(out.type)}">selected="selected"</c:if>>请选择类型</option>
                                                                        <option value="straight"<c:if test="${'straight'.equals(out.type)}">selected="selected"</c:if>>直管型</option>
                                                                        <option value="inner-support"<c:if test="${'inner-support'.equals(out.type)}">selected="selected"</c:if>>内撑</option>
                                                                    </select>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${out.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="零件"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>局部阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.partsOutOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.partsOutTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${out}" var="out">
                                                        <c:if test="${out.smallType == 2}">
                                                            <tr data-flag="零件" id="${out.id}" data-smallType="${out.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${out.classA}">
                                                                        <i class="${out.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${out.title}</td>
                                                                <td>
                                                                    <select>
                                                                        <option value="null" <c:if test="${'null'.equals(out.type)}">selected="selected"</c:if>>请选择类型</option>
                                                                        <option value="bend" <c:if test="${'bend'.equals(out.type)}">selected="selected"</c:if>>弯头</option>
                                                                        <option value="threeLinks" <c:if test="${'threeLinks'.equals(out.type)}">selected="selected"</c:if>>三通</option>
                                                                        <option value="transition" <c:if test="${'transition'.equals(out.type)}">selected="selected"</c:if>>变径</option>
                                                                        <option value="header" <c:if test="${'header'.equals(out.type)}">selected="selected"</c:if>>联箱</option>
                                                                    </select>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${out.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="部件"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>部件阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.spareOutOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.spareOutTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${out}" var="out">
                                                        <c:if test="${out.smallType == 3}">
                                                            <tr data-flag="部件" id="${out.id}" data-smallType="${out.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${out.classA}">
                                                                        <i class="${out.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${out.title}</td>
                                                                <td>
                                                                    <select>
                                                                        <option value="null"<c:if test="${'null'.equals(out.type)}">selected="selected"</c:if>>请选择类型</option>
                                                                        <option value="airdoor"<c:if test="${'airdoor'.equals(out.type)}">selected="selected"</c:if>>风门</option>
                                                                        <option value="sinkhole"<c:if test="${'sinkhole'.equals(out.type)}">selected="selected"</c:if>>缩孔</option>
                                                                        <option value="other"<c:if test="${'other'.equals(out.type)}">selected="selected"</c:if>>其他</option>
                                                                    </select>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${out.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="设备"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>设备阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.deviceOutOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.deviceOutTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${out}" var="out">
                                                        <c:if test="${out.smallType == 4}">
                                                            <tr data-flag="设备" id="${out.id}" data-smallType="${out.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${out.classA}">
                                                                        <i class="${out.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${out.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${out.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr class="title">
                                                        <td><a href="javascript:;"
                                                               class="btn yellow hideable"
                                                               data-flag="其他"><i
                                                                class="fa fa-angle-up"></i></a>
                                                        </td>
                                                        <td colspan="6"><h4>其他阻力</h4></td>
                                                        <td>
                                                            <input class="form-control input-xsmall calculateLost" type="text" readonly value="${blowerBaseCal.otherOutOne}">
                                                        </td>
                                                        <td>
                                                            <input class="form-control input-xsmall designLost" type="text" readonly value="${blowerBaseCal.otherOutTwo}">
                                                        </td>
                                                    </tr>
                                                    <c:forEach items="${out}" var="out">
                                                        <c:if test="${out.smallType == 5}" >
                                                            <tr data-flag="其他" id="${out.id}" data-smallType="${out.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${out.classA}">
                                                                        <i class="${out.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${out.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${out.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <c:forEach items="${out}" var="out">
                                                        <c:if test="${out.smallType == 6}">
                                                            <tr data-flag="其他" id="${out.id}" data-smallType="${out.smallType}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${out.classA}">
                                                                        <i class="${out.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${out.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${out.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <c:forEach items="${out}" var="out">
                                                        <c:if test="${out.smallType == 7}">
                                                            <tr data-flag="其他" id="${out.id}">
                                                                <td>
                                                                    <a href="javascript:;"
                                                                       class="${out.classA}">
                                                                        <i class="${out.classI}"></i>
                                                                    </a>
                                                                </td>
                                                                <td class="editable">${out.title}</td>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.z}">
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.p}">
                                                                </td>

                                                                <td>
                                                                    <input type="checkbox" <c:if test="${out.check2}">checked="checked"</c:if>>
                                                                </td>
                                                                <td>
                                                                    <input class="form-control input-xsmall"
                                                                           type="text" value="${out.lost}">
                                                                </td>

                                                            </tr>
                                                        </c:if>
                                                    </c:forEach>
                                                    <tr>
                                                        <td colspan="9">
                                                            <h4><b>压力侧总阻力</b></h4>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <b>未经修正的压力通道总阻力-计算点</b>
                                                        </td>
                                                        <td colspan="6">
                                                            <input type="text" class="form-control input-large" readonly id="E28" value="${blowerBaseCal.e28}"/>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <b>未经修正的压力通道总阻力-设计点</b>
                                                        </td>
                                                        <td colspan="6">
                                                            <input type="text" class="form-control input-large" readonly id="E31" value="${blowerBaseCal.e31}"/>
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12 margin-bottom-20">
                                    <div class="form-group">
                                        <label class="control-label col-md-3 editable"
                                               style="padding-left: 0; padding-right: 0;"
                                                >
                                            终点运行相对压力
                                        </label>

                                        <div class="col-md-9">
                                            <input type="text"
                                                   class="form-control input-inline pull-right"
                                                   id="E25" value="${blowerBaseCal.e25}">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="modalDialog" tabindex="-1" role="basic" aria-hidden="true" data-keyboard="false" data-backdrop="static">
    <div class="modal-dialog" style="width: 1024px;">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">相关阻力计算</h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body">
                    <iframe id="toolbarIframe" style="border: none;width:100%; height: 480px;" frameBorder="0"></iframe>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn blue" id="getToolBarValues"><spring:message code="save"/></button>
                <button type="button" class="btn default" id="quit" data-dismiss="modal"><spring:message code="close"/></button>
            </div>
        </div>

        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<%@include file="../includes/footer.jsp" %>
<%@include file="../includes/bottomscript.jsp" %>
<script type="text/javascript" src="<c:url value="/js/blower/BlowerCal.js"/>"></script>
<script>
    $(function () {
        <c:if test="${caseId == null}">
        toast.error("方案为空，请新建方案");
        setTimeout(function () {
            window.location.href = basePath + "power/power?menuId=12";
        }, 1200);
        </c:if>
        <c:if test="${caseId != null}">
        Page.init();
        </c:if>
    })
</script>
</body>
</html>